package com.bridgeintelligent.tag.engine.api.rsp;

import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

/**
 * Created by JackCheung on 2019/10/23 12:45 AM.
 */
@Data
public class MicroPortraitRsp {

    //返回码
    private int code;
    //返回数据
    private DataRsp data;

    @Data
    public static class DataRsp {

        private List<Map<String, DimInfo>> content;
    }
    @Data
    @Accessors(chain=true)
    @RequiredArgsConstructor(staticName = "of")
    public static class DimInfo {
        private String dimName;
        private String itemNo;
        private String itemName;
        private String classify;
    }
}
